package PROYECTO2.src.Naves.Jugador;

import java.net.URL;

import javax.swing.ImageIcon;

import PROYECTO2.src.Naves.Spaceship;


public class Viper extends Colonial {

	protected static URL url = (Spaceship.class.getClassLoader().getResource("PROYECTO2/src/img/Jugador/Viper.gif"));
	private static final int defaultWidth = 60;
	private static final int defaultHeight = 48;
	private static final int defaultSpeed = 3;
	private static final int defaultLife = 5;

	public Viper(){
		super(defaultLife,defaultSpeed,new ImageIcon(url),defaultWidth,defaultHeight);
		x = 400;
		y = 450;
		
	}
	
	public static String getStatistics(){
		ImageIcon icon = new ImageIcon(url);
		return ("<html>VIDA: "+defaultLife+"<br>VELOCIDAD: "+defaultSpeed+"<br>POTENCIA INICIAL: "+1+"<br>ALTO: "+icon.getIconHeight()+"<br>ANCHO: "+icon.getIconWidth()+"</html>");
	}
	
}
